srcpath := ./src
distpath := ./dist

debug :
	@echo "debug!"

clean :
	@rm -rf dist/*
	@echo "is cleaned!"

build :
	g++ main.cpp ${srcpath}/* -o ${distpath}/main.out
	@echo "builded"

run :
	@make clean
	@make build
	@echo "project start"
	@echo ""

	@${distpath}/main.out ./tests/test1.subc
	@${distpath}/main.out ./tests/test2.subc

.PHONE: debug clean

